const express = require('express')
const cors = require('cors')
const app = express()

// 处理跨域
app.use(cors())

app.get('/signin', (req, res) => {
  let response = {
    phone: req.query.phone,
    pwd: req.query.pwd
  }
  res.send(JSON.stringify(response))
})

app.listen('8090')